package com.jason.quectel0805.entities;

import android.util.Log;

/**
 * @author：Jason
 * @date：2022/8/9 09:46
 * @email：1129847330@qq.com
 * @description:
 */
public class People {
    private static final String TAG = "People";
    //成员变量/属性/字段，作用域(作用范围)：当前这个类内部可见
    public String name;
    public int age;

    public void work() {
        //局部变量，作用域：只在当前方法内可见
        long workTime = 8;
        //String name = "jason";
        Log.d(TAG, "work: wortTime=" + workTime);
        name = "jason";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}